	diag_log Format["(%1)[%2]: %3",diag_tickTime,"everon2010.common.sqf","Starting Everon map common config"];
	private ["_ling_boxes","_ling_civ","_ling_lift"];

#include "chernarus.common.sqf"

	// position of the player ammobox at base (created only on the players computer, refilled every 20 minutes)
	d_player_ammobox_pos =[[[4877.39,11832.2,0],0]];
	// Position of the second ammobox in case we ask both boxes
	d_second_ammobox_pos =[[[4877.41,11815.3,0],0]];

	d_backpacks_stack = [[[4877.15,11819.7,0],0]];

	// this vehicle will be created if you use the "Create XXX" at a mobile respawn (old "Create Motorcycle") or at a jump flag
	// d_create_bike = switch (d_own_side) do {
		// case "WEST": {["MMT_USMC","M1030"]};
		// case "EAST": {["MMT_Civ","TT650_Civ"]};
		// case "GUER": {["M1030"]};
	// };

	// d_current_truck_cargo_array = [];
	// d_check_ammo_load_vecs
	// the only vehicles that can load an ammo box are the transport choppers and MHQs__
	// d_check_ammo_load_vecs = switch (d_own_side) do {
		// case "WEST": {["LAV25_HQ","LAV25","MH60S","UH1Y"]};
		// case "EAST": {["BTR90","BTR90_HQ","Mi17_Ins","Mi17_rockets_RU"]};
		// case "GUER": {["V3S_Gue","Mi17_Ins"]};
	// };
	
	// chopper varname, type (0 = lift chopper, 1 = wreck lift chopper, 2 = normal chopper), marker name, unique number (same as in init.sqf), marker type, marker color, marker text, chopper string name
	d_choppers = [
		["HR1",2,"chopper1",301,"n_air","ColorWhite","AH64D","AH-64D"], ["HR2",2,"chopper2",302,"n_air","ColorWhite","AH1Z","AH-1Z"],
		["HR3",0,"chopper3",303,"n_air","ColorWhite","Lift One","Lift One"], ["HR4",0,"chopper4",304,"n_air","ColorWhite","Lift Two","Lift Two"],
		["HR5",2,"chopper5",305,"n_air","ColorWhite","MH6","MH6"], ["HR6",2,"chopper6",306,"n_air","ColorWhite","AH6","AH6"],
		["HR7",0,"chopper7",307,"n_air","ColorWhite","MH6","MH6"], ["HR8",0,"chopper8",308,"n_air","ColorWhite","AH6","AH6"],
		["HR9",2,"chopper9",309,"n_air","ColorWhite","Medevac","Medevac"], ["HR10",2,"chopper10",310,"n_air","ColorWhite","MI-24D","MI-24D"],
		["AP1",2,"airplane1",401,"n_plane","ColorWhite","A-10","A-10"], ["AP2",2,"airplane2",402,"n_plane","ColorWhite","SU-25","SU-25"],
		["AP3",2,"airplane3",403,"n_plane","ColorWhite","C-130","C-130J"]
	];

	// vehicle varname, unique number (same as in init.sqf), marker name, marker type, marker color, marker text, vehicle string name
	d_p_vecs = [
		["MRR1",0,"mobilerespawn1","HQ","ColorYellow","MHQ One","MHQ One"],["MRR2",1,"mobilerespawn2","HQ","ColorYellow","MHQ Two","MHQ Two"],
		["MEDVEC",10,"medvec","n_med","ColorGreen","Med","M"],
		["TR1",20,"truck1","n_maint","ColorGreen","","R1"], ["TR2",21,"truck2","n_support","ColorGreen","","F1"],
		["TR3",22,"truck3","n_support","ColorGreen","","A1"],
		["TR4",30,"truck4","n_service","ColorGreen","","E1"],
		["TR5",40,"truck5","n_support","ColorGreen","","T1"], ["TR6",41,"truck6","n_support","ColorGreen","","T2"],
		["AR1",42,"armor1","n_motor_inf","ColorBlue","Armor","Armor"], ["AR2",43,"armor2","n_motor_inf","ColorBlue","Armor","Armor"], 
		["AR3",44,"armor3","n_motor_inf","ColorBlue","Armor","Armor"], ["AR4",45,"armor4","n_motor_inf","ColorBlue","Armor","Armor"],
		["CR1",46,"car1","n_motor_inf","ColorOrange","","Vehicle"], ["CR2",47,"car2","n_motor_inf","ColorOrange","","Vehicle"],
		["CR3",48,"car3","n_motor_inf","ColorOrange","","Vehicle"], ["CR4",49,"car4","n_motor_inf","ColorOrange","","Vehicle"],
		["CR5",50,"car5","n_motor_inf","ColorOrange","","Vehicle"], ["CR6",51,"car6","n_motor_inf","ColorOrange","","Vehicle"],
		["MR1",52,"moto1","n_inf","ColorOrange","","M1"], ["MR2",53,"moto2","n_inf","ColorOrange","","M2"],
		["MR3",54,"moto3","n_inf","ColorOrange","","M3"], ["MR4",55,"moto4","n_inf","ColorOrange","","M4"],
		["ST1",56,"mortar1","n_mortar","ColorOrange","","S1"],["ST2",57,"mortar2","n_mortar","ColorOrange","","S2"],
		["ST3",58,"cannon1","n_art","ColorOrange","Arty One","S3"],["ST4",59,"cannon2","n_art","ColorOrange","Arty Two","S4"],
		["BT1",60,"boat1","n_inf","ColorBlue","Boat","B1"],["BT2",61,"boat2","n_inf","ColorBlue","Boat","B2"],
		["BT3",62,"boat3","n_inf","ColorBlue","Boat","B3"],["BT4",63,"boat4","n_inf","ColorBlue","Boat","B4"]
	];

	// Vehicles which can be lifted by the Dom lift script and by the Arty And Log
	// if (isnil "d_helilift1_types") then { d_helilift1_types = []; };
	// _ling_lift = switch (d_own_side) do {
		// case "WEST": {[]};
		// case "EAST": {[]};
		// case "GUER": {[]};
	// };
	// if (count _ling_lift > 0) then {d_helilift1_types = [d_helilift1_types, _ling_lift] call XfarrayPushStack};

	d_crew_E = ["TK_GUE_Soldier_2_EP1","TK_GUE_Soldier_3_EP1","TK_GUE_Soldier_4_EP1","TK_GUE_Soldier_5_EP1"];
	// d_crew_W = ["USMC_Soldier_Crew"];
	// d_crew_G = ["GUE_Soldier_CO"];
	// d_crew_C = ["Worker1"];
	
	d_cargo_crew_override_E = ["TK_GUE_Soldier_AT_EP1","TK_GUE_Soldier_2_EP1","TK_GUE_Soldier_3_EP1","TK_GUE_Soldier_4_EP1","TK_GUE_Soldier_5_EP1","TK_GUE_Soldier_AAT_EP1","TK_GUE_Soldier_AA_EP1","TK_GUE_Soldier_AR_EP1","TK_GUE_Soldier_AT_EP1"];

/// @CONFIGARRAY
/// @NAME IslandSectors
/// @DESC Contains all possible sectors on the island where enemy/missions can spawn
/// @PACKAGE ChernarusMap
/// @COLUMN Type Scalar The type of sector. 0 = Mission zones, 1 = Random Spawn
/// @COLUMN Shape Shape The shape of the sector presented in a ShapeArray
/// @COLUMN DisplayName String The name which can be displayed inside the mission messages and so on
/// @COLUMN UniqueName String The name used to create Triggers, Variables, Markers and so on. Cannot contain whitespaces!
/// @COLUMN Width Scalar The width of the sector
/// @COLUMN Height Scalar The height of the sector
/// @COLUMN Angle Scalar The angle of the sector zone
/// @COLUMN Rectangle Boolean Whether it is a rectangle (True) or a Circle
/// @REMARK Map Specific! Check the right package!
/// @EXAMPLE 
d_map_sectors = [
	[0,[[[5550.66,10102.2,0],5000,5000,0,true]],"North Everon","NorthEveron"],
	[0,[[[4215.13,5498.42,0],7000,5000,0,true]],"CentralEveron","CentralEveron"],
	[0,[[[9189.54,2941.3,0],6000,6000,0,true]],"South Everon","SouthEveron"]
];


/// @CONFIGARRAY
/// @NAME MapLocations
/// @DESC Contains all possible MapLocation on the map, those are of course map specific.
/// @PACKAGE ChernarusMap
/// @COLUMN Position Position Where the element is located
/// @COLUMN DisplayName String The name which can be displayed inside the mission messages and so on
/// @COLUMN UniqueName String The name used to create Triggers, Variables, Markers and so on. Cannot contain whitespaces!
/// @COLUMN Size Scalar The size of the zone @DEFAULT = 200
/// @COLUMN Type Scalar The type of the zone. Can be any of the following: <ul><li>0= Town</li><li>1= Village</li><li>2= Lonely Building</li><li>3= Special Site (radio tower, casltes, etc) This will disable civilian spawn</li><li>4= Military Site (camp, airbase, etc) This will disable civilian spawn</li><li>5= Industrial Site. Enables more trucks spawn</li><li>6= Grassland (out of towns and mostly tree free)</li><li>7= Forest (inside a forest without much buildings)</li><li>8= Beach (on a coast without much buildings)</li><li>9=Island Town (only reachable by sea)</li><li>10=Mountains / Big hills</li><li>10=Airports/Heliports</li></ul>
/// @COLUMN MissionSector Scalar The map is divided in several MapSections (for the mission framework). This is the index the location belongs to.
/// @COLUMN CivilDensity Scalar A value between 0 and 1 indicating the density of civilian to spawn in regards to this location type maximum value.
/// @COLUMN RoadBlock Boolean Indicates whether the roads at the edge of the zone circle can be blocked by RandomRoadBlocks
/// @COLUMN AEGSection Array And array giving the section and index in this section the zone belongs to in the AEG scripts.
/// @REMARK Map Specific! Check the right package!
/// @EXAMPLE 
//         0= Town
//         1= Village
//         2= Lonely Building
//         3= Special Site (radio tower, casltes, etc) This will disable civilian spawn
//         4= Military Site (camp, airbase, etc) This will disable civilian spawn
//         5= Industrial Site. Enables more trucks spawn
//         6= Grassland (out of towns and mostly tree free)
//         7= Forest (inside a forest without much buildings)
//         8= Beach (on a coast without much buildings)
//         9= Island Town (only reachable by sea)
//         10= Mountain
//         11= Airport site
d_map_locations = [
	[[4919.69,6982.43,0],"Montignac","Montignac",200,0,1,1,True,[0,0]],
	[[1295.2,5953.56,0],"Lamentin","Lamentin",200,0,1,1,True,[0,0]],
	[[9621.7,1590.79,0],"Saint Pierre","SaintPierre",260,0,2,1,True,[0,0]],
	[[4671.88,10729.4,0],"Saint Philippe","SaintPhilippe",100,1,0,1,True,[0,0]],
	[[4505.59,9524.48,0],"Meaux","Meaux",150,1,0,1,True,[0,0]],
	[[4956.58,9061.66,0],"Tyrone","Tyrone",100,1,0,1,True,[0,0]],
	[[4144.81,7793.22,0],"Gravette","Gravette",100,1,0,1,True,[0,0]],
	[[5731.62,7068.41,0],"Entre Deux","EntreDeux",100,1,1,1,True,[0,0]],
	[[2626.38,5438.34,0],"Le Moule","LeMoule",150,1,1,1,True,[0,0]],
	[[5059.04,3931.67,0],"Morton","Morton",130,1,1,1,True,[0,0]],
	[[5300.7,5363.55,0],"Figari","Figari",100,1,1,1,True,[0,0]],
	[[5497.71,6065.99,0],"Provins","Provins",100,1,1,1,True,[0,0]],
	[[7086.55,6021.14,0],"Chotain","Chotain",100,1,1,1,True,[0,0]],
	[[7541.89,5580.73,0],"Laruns","Laruns",100,1,1,1,True,[0,0]],
	[[7534.89,4693.06,0],"Levie","Levie",100,1,1,1,True,[0,0]],
	[[7180.99,2322.67,0],"Regina","Regina",100,1,2,1,True,[0,0]],
	[[9125.91,2145.4,0],"Vernon","Vernon",100,1,2,1,True,[0,0]],
	[[8830.09,2693.64,0],"Durras","Durras",100,1,2,1,True,[0,0]],
	[[5548.99,10215,0],"Lonely Farm","LonelyFarm",50,2,0,1,True,[0,0]],
	[[5271.82,9371.84,0],"Tyrone Farm","TyroneFarm",50,2,0,1,True,[0,0]],
	[[3895.5,8287.54,0],"Lonely","Lonely",100,2,0,1,True,[0,0]],
	[[2227.71,7389.64,0],"Lonely Farm","LonelyFarm",80,2,1,1,True,[0,0]],
	[[2874.81,6415.59,0],"Le Val","LeVal",60,2,1,1,True,[0,0]],
	[[3442.08,4414.28,0],"Le Bout","LeBout",80,2,1,1,True,[0,0]],
	[[5748.3,3434.76,0],"Morton Cap","MortonCap",100,2,1,1,True,[0,0]],
	[[11753,2050.13,0],"Sainte Ursule","SainteUrsule",50,2,2,1,True,[0,0]],
	[[6333.11,8477.36,0],"Sainte Lucille","SainteLucille",100,2,0,1,True,[0,0]],
	[[6351.84,9637.82,0],"Saint Philippe Lighthouse","SaintPhilippeLighthouse",50,2,0,1,True,[0,0]],
	[[2150.14,4743.35,0],"Le Cap","LeCap",50,2,1,1,True,[0,0]],
	[[5140.96,10483.1,0],"Saint Philippe Camp","SaintPhilippeCamp",80,4,0,1,True,[0,0]],
	[[7258.02,6780.11,0],"Cyril Camp","CyrilCamp",80,4,1,1,True,[0,0]],
	[[7527.32,4150.61,0],"Levie Camp","LevieCamp",80,4,1,1,True,[0,0]],
	[[9332.47,1040.45,0],"Chastel","Chastel",80,4,2,1,True,[0,0]],
	[[9569.77,2968.2,0],"Durras Camp","DurrasCamp",80,4,2,1,True,[0,0]],
	[[4477.13,11210.9,0],"Saint Philippe Factory","SaintPhilippeFactory",80,5,0,1,True,[0,0]],
	[[5407.25,9873.91,0],"Meaux Factory","MeauxFactory",80,5,0,1,True,[0,0]],
	[[4674.41,7980.66,0],"Gravette Plains","GravettePlains",240,6,0,1,True,[0,0]],
	[[5059.86,10093,0],"Grassland","Grassland",120,6,0,1,True,[0,0]],
	[[7277.28,8444.06,0],"Blanc Cap","BlancCap",320,6,0,1,True,[0,0]],
	[[5739.18,5548.5,0],"Figari Fields","FigariFields",220,6,1,1,True,[0,0]],
	[[3551.76,4998.12,0],"Le Haut","LeHaut",220,6,1,1,True,[0,0]],
	[[6583.01,7202.16,0],"Entre Plat","EntrePlat",180,6,1,1,True,[0,0]],
	[[3173.01,6852.64,0],"La Plaine","LaPlaine",350,6,1,1,True,[0,0]],
	[[4992.55,8470.52,0],"Tyrone Forest","TyroneForest",250,7,0,1,True,[0,0]],
	[[2536.45,6918.49,0],"West Woods","WestWoods",150,7,1,1,True,[0,0]],
	[[6469.97,7864.74,0],"Lucille Forest","LucilleForest",180,7,0,1,True,[0,0]],
	[[6458.76,6743.27,0],"Deux Woods","DeuxWoods",180,7,1,1,True,[0,0]],
	[[4602.08,5798.35,0],"Provins Woods","ProvinsWoods",200,7,1,1,True,[0,0]],
	[[5914,5007.91,0],"Figari Woods","FigariWoods",170,7,1,1,True,[0,0]],
	[[4638.78,4934.19,0],"Figari Forest","FigariForest",280,7,1,1,True,[0,0]],
	[[2904.59,4344.56,0],"Le Moule Forest","LeMouleForest",250,7,1,1,True,[0,0]],
	[[9289.22,3393.79,0],"Durras Forest","DurrasForest",280,7,2,1,True,[0,0]],
	[[7249.12,4234.66,0],"Levie Forest","LevieForest",180,7,1,1,True,[0,0]],
	[[7510.98,2293.45,0],"Regina Forest","ReginaForest",180,7,2,1,True,[0,0]],
	[[9859.73,2362.79,0],"Saint Pierre Forest","SaintPierreForest",240,7,2,1,True,[0,0]],
	[[4355.1,10202.5,0],"Meaux Forest","MeauxForest",180,7,0,1,True,[0,0]],
	[[4218.92,8529.62,0],"Gravette Woods","GravetteWoods",200,7,0,1,True,[0,0]],
	[[4068.11,6672.03,0],"Montignac Forest","MontignacForest",220,7,1,1,True,[0,0]],
	[[3509.39,5779.02,0],"Monti Hill","MontiHill",120,10,1,1,True,[0,0]],
	[[5219.2,4527.68,0],"Morton Hill","MortonHill",120,10,1,1,True,[0,0]],
	[[5792.32,7248.45,0],"Entre Hill","EntreHill",80,10,1,1,True,[0,0]],
	[[8627.84,4279.37,0],"Levie Hill","LevieHill",120,10,2,1,True,[0,0]],
	[[7995.75,2919.06,0],"Regina Hill","ReginaHill",120,10,2,1,True,[0,0]],
	[[10173.4,2742,0],"Saint Pierre Hill","SaintPierreHill",120,10,2,1,True,[0,0]],
	[[9964.65,541.927,0],"Cap Sud","CapSud",120,10,2,1,True,[0,0]],
	[[8713.53,1686.57,0],"Mount Everon","MountEveron",120,10,2,1,True,[0,0]],
	[[],"","",0,-1,0,0,False,[0,0]] // Just to end the array. Allows to copy/paste above without thinking of commas. The -1 will get it filtered out anyway
];
	
if (isnil "d_all_ammoboxes") then { d_all_ammoboxes = []; };
_ling_boxes = [];
if (count _ling_boxes > 0) then {d_all_ammoboxes = [d_all_ammoboxes, _ling_boxes] call XfarrayPushStack};

// If you want to change from the default:
// d_vehicle_drop_box = "RUOrdnanceBox";

// If you want to change from the default:
// d_air_drop_box = "RUOrdnanceBox";

// If you want to change from the default:
// d_default_ammo_box = "RUOrdnanceBox";

// If you want to change from the default:
// d_the_base_box = "RUOrdnanceBox";

// If you want to change from the default:
// The MG Nest that MG units can create
// if (d_with_mgnest && isnil "d_mg_nest") then {
	// d_mg_nest = (switch (d_own_side) do {
		// case "GUER": {"GUE_WarfareBMGNest_PK"};
		// case "WEST": {"USMC_WarfareBMGNest_M240"};
		// case "EAST": {"RU_WarfareBMGNest_PK"};
	// });
// };

// If you want to change from the default:
// The AA Pod that AT units can create
// if (d_with_aapod && isnil "d_with_aapod") then {
	// d_aa_pod = (switch (d_own_side) do {
		// case "GUER": {"Igla_AA_pod_East"};
		// case "WEST": {"Stinger_Pod"};
		// case "EAST": {"Igla_AA_pod_East"};
	// });
// };

// If you want to change from the default:
// if (isnil "x_drop_array") then {
	// x_drop_array = (switch (d_own_side) do {
			// case "GUER": {[["Drop DSHKM", "Offroad_DSHKM_Gue","Mi17_Civilian"], ["Drop SPG9","Offroad_SPG9_Gue","Mi17_Civilian"], ["Drop Ammo", d_air_drop_box,"Mi17_Civilian"]]};
			// case "WEST": {[["Drop HMMWV", "HMMWV_Armored","MV22"], ["Drop Avenger","HMMWV_Avenger","MV22"], ["Drop Ammo", d_air_drop_box,"MV22"]]};
			// case "EAST": {[["Drop UAZ MG", "UAZ_MG_INS","Mi17_CDF"], ["Drop SPG9","UAZ_SPG9_INS","Mi17_CDF"], ["Drop Ammo", d_air_drop_box,"Mi17_CDF"]]};
		// });
// };

// d_air_transport_h_E = ["An2_TK_EP1"];
// d_air_transport_h_W = ["MV22"];
// d_air_transport_h_G = ["An2_1_TK_CIV_EP1"];
// d_air_support_h_E = ["Ka52","Ka52Black","Mi24_P","Mi24_V"];
// d_air_support_h_W = ["AH1Z","AH64D"];
// d_air_support_h_G = ["Mi17_rockets_RU"];
// d_air_support_p_E = ["Su34","Su39"];
// d_air_support_p_W = ["A10","AV8B2","AV8B","F35B"];
// d_air_support_p_G = ["Mi17_rockets_RU"];

// position base, a,b, angle,  for the enemy at base trigger and marker
d_base_array = [[4787.75,11738.6,0],140,360,0];

// position and direction of the AI HUT
d_pos_ai_hut = [[4889.71,11988.9,0],0];
// position and direction of the AI Spawn
d_pos_ai_spawn = [[4889.71,11994.7,0],0];
// Position and directions of the AI Vehicle Spawn
d_pos_ai_vehicle_spawn = [[4884.91,12062.2,0],0];
// Position of the Anti Air Radar
d_pos_antiairradar = [[4656.86,11598.1,0],0];

if (isnil "d_civilians_t") then { d_civilians_t = []; };
_ling_civ = [];
if (count _ling_civ > 0) then {d_civilians_t = [d_civilians_t, _ling_civ] call XfarrayPushStack};


